package org.ly.uap.client.jaas;

import java.io.Serializable;

import org.ly.uap.client.authentication.SimplePrincipal;
import org.ly.uap.client.validation.Assertion;

public class AssertionPrincipal extends SimplePrincipal
        implements Serializable {
    private static final long serialVersionUID = 2288520214366461693L;
    private Assertion assertion;

    public AssertionPrincipal(String name, Assertion assertion) {
        super(name);
        this.assertion = assertion;
    }

    public Assertion getAssertion() {
        return this.assertion;
    }
}
